//
//  TPLabel.h
//  CloudAtCostPanel
//
//  Created by leonardo on 2017/2/9.
//  Copyright © 2017年 tanpengsccd. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TPLabel : UILabel

+(instancetype)labelWithText:(NSString *)text Font:(UIFont *)font;

-(instancetype)initWithText:(NSString *)text Font:(UIFont *)font;

+(instancetype)labelWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment bgColor:(UIColor *)bgColor numberOfLines:(NSUInteger)numberOfLines lineBreakMode:(NSLineBreakMode)lineBreakMode;

-(instancetype)initWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment bgColor:(UIColor *)bgColor numberOfLines:(NSUInteger)numberOfLines lineBreakMode:(NSLineBreakMode)lineBreakMode;
@end
